package com.code.base.sys.persistence;

import java.util.List;
import java.util.Map;
import com.code.base.sys.pojo.SysRole;


public interface SysRoleMapper {


	public SysRole getDataById(Long id);

	public List<SysRole> getDataByIds(Long[] ids);

	public List<SysRole> getAllData();

	public int getDataCountByCondition(SysRole entity);

	public List<SysRole> getDataByCondition(SysRole entity);

	public int getDataCountByLikeCondition(SysRole entity);

	public List<SysRole> getDataByLikeCondition(SysRole entity);

	public void insertData(SysRole entity);

	public void updateData(SysRole entity);

	public void updateDataByParam(Map<String, Object> map);

	public void deleteDataByObject(SysRole entity);

	public void deleteDataById(Long id);

	public void deleteDataByIds(Long[] ids);

}
